dnl -*-autoconf-*-
dnl bcm2835: Autoconf script
dnl 
dnl $Id: configure.in,v 1.12 2009/08/12 09:43:22 mikem Exp mikem $
dnl (C) 2012 Mike McCauley (mikem@open.com.au)

AC_INIT([bcm2835], [1.8], [mikem@open.com.au])

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE()

AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN";
   then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
fi
AC_PROG_RANLIB
AC_PROG_CC
AC_CONFIG_MACRO_DIR([m4])
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile])])
AC_OUTPUT(Makefile src/Makefile doc/Makefile)
